package com.zh.umldemo.test04AbstractFactory;

/**
 * @author zh
 * @date 2025/9/7 15:57
 * @description:具体工厂1
 */
public class Factory1 implements AbstractFactory {


    @Override
    public AbstractProductCPU createProductCPU() {
        return new ProductCPU1();
    }

    @Override
    public AbstractProductGPU createProductGPU() {
        return new ProductGPU1();
    }
}
